﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DeklaritModel.PaisDataSet>" %>


<%@ Import Namespace="System.Data" %>


<table width="100%" class="formPageBody" >
	<tr>
		<td colspan="2">
			<%= Html.ValidationSummary() %>
		</td>
	</tr> 
   <tr>
		<td>
			<%= Html.Hidden("PaisId", Model == null || Model.Pais.Rows.Count == 0 ? (object)null : Model.Pais[0].PaisId) %>
			<%= Html.Hidden("MenuAction") %>
			<%= Html.Hidden("Mode") %>
			<%= Html.Hidden("InstantiatedAttributes") %>
            <%= Html.Hidden("OptionAddedToCombo") %>
			<%  bool? prompt = (bool?)ViewData["Prompt"];   %>
            <%= Html.Hidden("Prompt", prompt) %>
            <%  if (prompt ?? false){
                    string promptAttribute = (string)ViewData["PromptAttribute"];
                    bool? promptReturn = (bool?)ViewData["PromptReturn"];    %>
                <%= Html.Hidden("PromptAttribute", promptAttribute) %>
                <%= Html.Hidden("Prompt_" + promptAttribute, Model == null || Model.Pais.Rows.Count == 0 ? (object)null : Model.Pais[0][promptAttribute]) %>
			    <%= Html.Hidden("PromptReturn", promptReturn.HasValue && promptReturn.Value ? "true" : "false")%>
            <%  } %>

	<table cellspacing="1" cellpadding="1" border="0">
		<tr>
			
     
     										<td class="nowrapClass smallWidth"     >
     											<label id="lblPaisNombre1" class="formLabelDescription "  ><%=  Resources.StringResources.PaisPaisNombreDescription %></label>
     										</td>
				
			
     
     										<td class="nowrapClass"   >
     											<table cellspacing="1" cellpadding="0" border="0"  >
     												<tr>
     													<td class="nowrapClass" >
     														<%= Html.TextBox("PaisNombre", Model == null || Model.Pais.Rows.Count == 0 ? (object)null : Model.Pais[0].PaisNombre, "formText", "20", "20", ((EnumMode)ViewData["Mode"]) != EnumMode.Insert && ((EnumMode)ViewData["Mode"]) != EnumMode.Update || ViewData["ReadOnly_PaisNombre"] != null, "formTextView", false, "", false) %>
     													</td>
     												</tr>
     											</table>
     										</td>
     									
     
				
			<td>
			</td>
		</tr>
		<tr>
			
     
     										<td class="nowrapClass smallWidth"     >
     											<label id="lblPaisMoneda1" class="formLabelDescription "  ><%=  Resources.StringResources.PaisPaisMonedaDescription %></label>
     										</td>
				
			
     
     										<td class="nowrapClass"   >
     											<table cellspacing="1" cellpadding="0" border="0"  >
     												<tr>
     													<td class="nowrapClass" >
     														<%= Html.TextBox("PaisMoneda", Model == null || Model.Pais.Rows.Count == 0 ? (object)null : Model.Pais[0].PaisMoneda, "formText", "2", "2", ((EnumMode)ViewData["Mode"]) != EnumMode.Insert && ((EnumMode)ViewData["Mode"]) != EnumMode.Update || ViewData["ReadOnly_PaisMoneda"] != null, "formTextView", false, "", false) %>
     													</td>
     												</tr>
     											</table>
     										</td>
     									
     
				
			<td>
			</td>
		</tr>
		<tr>
			
				<td>
				</td>		
				
			
				<td>
				</td>		
				
			<td>
			</td>
		</tr>
	</table>
		</td>
	</tr>
	<tr class="formFooter">
		<td colspan="4">
	
			<table cellspacing="2" cellpadding="2" border="0">
				<tr>
					<td valign="bottom" colspan="1">
						<img src="<%= (string)Session["ThemePath"] %>Images/LeftBottom.gif" />
					</td>
					<td>
				<!--		<dkweb:DeklaritImageButton ID="btnConfirm" SkinID="DeklaritImageButton" runatt="server" CausesValidation="True"  Text="Confirm"  ></dkweb:DeklaritImageButton>	-->
					</td>
					<td >
				<!--		<dkweb:DeklaritImageButton ID="btnCancel" SkinID="DeklaritImageButton" runatt="server" CausesValidation="False"  Text="Cancel"  ></dkweb:DeklaritImageButton>	-->
					</td>
					<td valign="bottom" align="right" colspan="1">
						<img src="<%= (string)Session["ThemePath"] %>Images/RightBottom.gif" />
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
